from app.server.flask_app.admin_views import MyBaseModelView


class PaymentsModelView(MyBaseModelView):

    column_list = (
        "id",
        "summ",
        "bill_id",
        "status",
        "user",
        "created_at",
    )

    column_filters = (
        "status",
        "summ",
        "created_at",
    )

    column_default_sort = ("id", True)
